package com.jp.knowledge.model;

import java.util.List;

/**
 * Created by jiayen on 16/11/30.
 */

public class CommTags {
    private String id;
    private String name;
    private String tagName;
    private boolean selected;
    private List<CommTags> tags;
    private String parentId;//记录父元素id
    private int parentPosition;//在父元素中的位置
    private int position;//当前tag在当前集合中的位置

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<CommTags> getTags() {
        return tags;
    }

    public void setTags(List<CommTags> tags) {
        this.tags = tags;
    }

    public String getTagName() {
        return tagName;
    }

    public void setTagName(String tagName) {
        this.tagName = tagName;
    }

    public boolean isSelected() {
        return selected;
    }

    public void setSelected(boolean selected) {
        this.selected = selected;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public int getParentPosition() {
        return parentPosition;
    }

    public void setParentPosition(int parentPosition) {
        this.parentPosition = parentPosition;
    }

    public int getPosition() {
        return position;
    }

    public void setPosition(int position) {
        this.position = position;
    }
}
